package com.easy.neo4j.service;
import com.easy.common.util.Result;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface StationService {
    String findAllBusStation(String lat,String lng,String lmt);

    String findAllPark(String lat, String lng);
    String findAllSubway(String lat,String lng);

    String findBusLine(String lineId);
    String findParkByCityCode(String address, String cityCode,Integer page,Integer limit);
    String getParkCountByCityCode(String address,String cityCode);
    String findSubwayByLineName(String lineName);

    String findBikeByParkName(String parkName);

    //修改单车坐标点位置
    Result<String> updateParkPointByName(String parkName, String lag, String lng);

    //添加单车节点
    Result<String> addPark(String address,String cityCode,String reginId,String lat,String lng,String parkName);

    Result<String> createNearbyRelationships(String address);
}
